/**
 * 
 */
package com.china08.yxyapi.entity.mg.platform;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * The Class YxyHomeNews. 资讯
 *
 * @author Richard.Wang
 */
@Document(collection = "yxy.platform.home.news")
public class YxyHomeNews extends MongoBaseEntityNoId {

    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = -2989707696429561744L;

    /** The id. */
    @Id
    private String id;
    /**
     * 教育局id
     */
    @Field(value = "edb_id")
    private String edbId;

    /**
     * 学校id
     */
    @Field(value = "shcool_id")
    private String schoolId;

    /**
     * 摘要
     */
    @Field(value = "summary")
    private String summary;

    /** The recommended.是否推荐 0 否 1：是 */
    @Field(value = "recommended")
    private int recommended;

    /** The status.状态： -1：删除 0：草稿 1：发布 2：下线 */
    @Field(value = "status")
    private int status;

    /** The sticky.是否置顶:0-否,1-是 */
    @Field(value = "sticky")
    private int sticky;

    /** The title. 台头 */
    @Field(value = "title")
    private String title;

    /** The content. 内容 */
    @Field(value = "content")
    private String content;

    /** The cover. 封面 */
    @Field(value = "cover")
    private String cover;

    /**
     * 浏览量
     */
    @Field(value = "pv")
    private Integer pv;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getRecommended() {
        return recommended;
    }

    public void setRecommended(int recommended) {
        this.recommended = recommended;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSticky() {
        return sticky;
    }

    public void setSticky(int sticky) {
        this.sticky = sticky;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getPv() {
        return pv;
    }

    public void setPv(Integer pv) {
        this.pv = pv;
    }

    public String getEdbId() {
        return edbId;
    }

    public void setEdbId(String edbId) {
        this.edbId = edbId;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

}
